package go_struct_demo

import "fmt"

type Person struct{
	name string;
	age int;
}

type Person2 struct{
	name string;
	age int;
	contact struct{
		phone string;
		addr string;
	}
}

// 匿名字段
type Person3 struct{
	string;
	int;
}

// 嵌入结果， 组合
type Person4 struct{
	Person;
	phone string;
	addr string;

}

func main(){
	a := Person{}
	a.name = "test"
	a.age = 23
	fmt.Println(a)

	b := Person{
		name: "test2",
		age: 34,
	}

	fmt.Println(b)
	//调用函数
}

func A(p *)